<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            /*整体大小要求：550*41*/
            width: 550px;
            height: 37px;/*41-4（边框）*/
            border-top: 3px solid #ff8500;
            border-bottom: 1px solid #edeef0;
            background-color: #fcfcfc;

            line-height:37px;/*垂直居中*/

            /*把字体大小设置为0*/
            font-size:0;
        }
        .nav a{
            /*改变实现模式，设置高度,使得背景色铺满*/
            display:inline-block;
            height:37px;

            color: #4c4c4c;
            text-decoration: none;
            padding:0 18px 0 18px;


            /*再次设置文字大小*/
            font-size:14px;
        }

        .nav a:hover{

            color:#ff8500;
            background-color: #eee;
        }

    </style>
</head>
<body>
<div class="nav">
    <a href="#">设为首页</a>
    <a href="#">手机新浪网</a>
    <a href="#">移动客户端</a>
    <a href="#">播客</a>
    <a href="#">微博</a>
    <a href="#">关注我</a>
</div>

</body>
</html>